﻿
using System.Collections.Generic;
using QLKS.DAL;
using QLKS.Entity;

namespace QLKS.BLL
{
    public class PhieuThuePhongBUS
    {
        private static PhieuThuePhongDAO dao = new PhieuThuePhongDAO();

        public static List<PhieuThuePhong> GetByAll(PhieuThuePhong obj)
        {
            return dao.GetByAll(obj);
        }

        public static bool Insert(PhieuThuePhong obj)
        {
            return dao.Insert(obj);
        }

        public static bool Update(PhieuThuePhong obj)
        {
            return dao.Update(obj);
        }

        public static bool Delete(PhieuThuePhong obj)
        {
            return dao.Delete(obj);
        }

        public static List<PhieuThuePhong> GetPhongThue(PhieuThuePhong obj)
        {
            return dao.GetPhongThue(obj);
        }
    }
}
